/*
 * To change this template, choose Tools | Templates and open the template in
 * the editor.
 */
package cn.eclass.entity;

/**
 *
 * @author Administrator
 */
public class SchoolOrderEntity implements Entity {

    private int id;
    private int userId;
    private float amount;
    private int schoolId;
    private long thedate;
    private int valid = 0;
//    private String status = ConstantsConf.SCHOOLORDER_INVALID;
    private int points;
    private String orderNo = null;
    private String className;
    private float claimAmount;
    private String userName;
    private String comment;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setValid(int valid) {
        this.valid = valid;
    }

    public float getClaimAmount() {
        return claimAmount;
    }

    public void setClaimAmount(float claimAmount) {
        this.claimAmount = claimAmount;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public int getPoints() {
        return points;
    }

    public void setPoints(int points) {
        this.points = points;
    }

    /**
     * @return the id
     */
    public int getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * @return the userId
     */
    public int getUserId() {
        return userId;
    }

    /**
     * @param userId the userId to set
     */
    public void setUserId(int userId) {
        this.userId = userId;
    }

    /**
     * @return the amount
     */
    public float getAmount() {
        return amount;
    }

    /**
     * @param amount the amount to set
     */
    public void setAmount(float amount) {
        this.amount = amount;
    }

    /**
     * @return the schoolId
     */
    public int getSchoolId() {
        return schoolId;
    }

    /**
     * @param schoolId the schoolId to set
     */
    public void setSchoolId(int schoolId) {
        this.schoolId = schoolId;
    }

    /**
     * @return the thedate
     */
    public long getThedate() {
        return thedate;
    }

    /**
     * @param thedate the thedate to set
     */
    public void setThedate(long thedate) {
        this.thedate = thedate;
    }

    public int getValid() {
        return valid;
    }
//    public void validate() {
//    	status = ConstantsConf.SCHOOLORDER_VALID;
//    }

    /**
     * @return the comment
     */
    public String getComment() {
        return comment;
    }

    /**
     * @param comment the comment to set
     */
    public void setComment(String comment) {
        this.comment = comment;
    }
}
